package com.crl.events
{
	import flash.events.Event;
	
	public class RemoteOperationEvent extends Event
	{
		
		/**
		 * 成功 
		 */
		public static const SUCCESED:String = 'remote_operation_succesed';
		
		/**
		 * 完全错误 
		 */
		public static const FAULT:String = 'remote_operation_fault';
		
		/**
		 *数据出错 
		 */
		public static const FAILED:String= 'remote_operation_failed';
		
		
		/**
		 * 信息 
		 */
		public var message:String;
		
		/**
		 * 数据 
		 */
		public var data:*;
		
		
		public function RemoteOperationEvent(type:String,data:*,message:String="", bubbles:Boolean=false, cancelable:Boolean=false)
		{
			this.data=data;
			this.message=message;
			super(type, bubbles, cancelable);
		}
	}
}